﻿using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes
{
    [System.AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)]
    public sealed class DataTypeAttribute : Attribute
    {
        public DataTypeAttribute(DataType type, string displayName, List<DataTypeAttribute> dataTypes = null)
        {
            this.Type = type;
            this.DisplayName = displayName;
            this.DataTypes = dataTypes;
        }
        public DataType Type { get; set; }

        public string DisplayName { get; set; }

        public List<DataTypeAttribute> DataTypes { get; set; }
    }
}
